package ch17_iterator;

/**
 * 实现统一的遍历
 *
 * @author guodd
 * @version 1.0
 */
public interface Iterator<T> {
    T next();

    boolean hasNext();
}
